<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<link rel="Stylesheet" type="text/css"
		href="../../componentes/estilos/estilo.css" />
</h:head>

	<p:panel id="idPanelAgrotox1">
		
		<f:facet name="header">Agrotóxicos Utilizados</f:facet>
		<p:panelGrid columns="1">
			<h:outputLabel value="Cultura:"></h:outputLabel>
				<p:selectOneMenu value="cultura">
					<f:selectItem itemLabel="Selecione" itemValue="" />
					<f:selectItems value="#{atividadefrutMB.listarAtividades()}"
						var="atividade" itemLabel="#{atividade.nome}"
						itemValue="#{atividade.id}"></f:selectItems>
				</p:selectOneMenu>
				
				<h:outputText value="Produto" />
			<p:inputText size="60"/>
			
			<h:outputLabel for="numAplicacoes" value="Número de Aplicações: " />  
            <p:spinner id="numAplicacoes" value="0" min="0" max="50" size="2"/>
			
			<h:outputText value="Objetivo" />
			<p:inputText size="60"/>
			
		</p:panelGrid>
		<p:panelGrid columns="1">
			<p:dataTable id="basic" var="cult2">
						<p:column id="modelHeader2">
							<f:facet name="header">  
			                    Cultura  
			            </f:facet>
							<h:outputText value="Cultivo de frutas de lavoura permanente, exceto laranja e uva" />
						</p:column >
						<p:column id="modelHeader22">
						<f:facet name="header">  
			                    Produto  
			            </f:facet>
							<h:outputText value="Caqui" />
						</p:column>
						<p:column id="modelHeader23" >
							<f:facet name="header">  
			                    Número de Aplicações
			            </f:facet>
							<h:outputText value="14" />
						</p:column>
						<p:column>
						<f:facet name="header">  
			                    Objetivo 
						</f:facet>
							<h:outputText value="Eliminação de pragas" />
						</p:column>
						
			</p:dataTable>
		</p:panelGrid>
	</p:panel>


</html>